﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PCMaintenanceQuery.aspx.cs" Inherits="WMS6.Web.Inventory.PCMaintenanceQuery" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>PCMaintenanceQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
     <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script> 
    <script src="../Js/util.js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            initQueryPage();
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
	    
	    //弹出窗口选择货品
        function selectSKU()
        {
            var rtnValue = popModalWindow('../Configuration/SKUQuery.aspx?action=txtSkuID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtSkuID").focus();
                document.getElementById("txtSkuID").value = rtnValue;
            }
        }
        
        //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
	    
    </script>
</head>
<body>
    <form id="F5550" runat="server">
    <div>
    
            <div id="div_menu">
                <div style="float: left; width: 8px;">
                    <div class="tabL"></div>
                </div>
                <div class="tabLabelCont tabCur">
                    <asp:Label ID="lblReceiptQuery" runat="server" Text="物理盘点维护" CssClass="hover" 
                        meta:resourcekey="lblReceiptQuery"></asp:Label>
                </div>
                <div style="float: left">
                    <div class="tabR"></div>
                </div>
             </div>
             
             <div id="div_query">
                <table width="360" cellpadding="0" cellspacing="0" >
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblPhysicalRequestID" runat="server" 
                                Text="盘点申请编号" meta:resourcekey="lblPhysicalRequestID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtPhysicalRequestID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtPhysicalRequestID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlPhysicalRequestID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlPhysicalRequestID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblTagNo" runat="server" Text="盘点标签" 
                                meta:resourcekey="lblTagNo"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtTagNo" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtTagNo"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlTagNo" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlTagNo">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblTeamNo" runat="server" Text="组队" 
                                meta:resourcekey="lblTeamNo"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtTeamNo" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtTeamNo"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlTeamNo" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlTeamNo">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主代码" 
                                meta:resourcekey="lblOwnerID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtOwnerID"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectOwner();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlOwnerID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlOwnerID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblSkuID" runat="server" Text="货品代码" 
                                meta:resourcekey="lblSkuID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtSkuID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtSkuID"></asp:TextBox><img src="../Images/icon_find.gif" alt="select one item" class="img" onclick="selectSKU();"/>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlSkuID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlSkuID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLoc" runat="server" Text="货位" 
                                meta:resourcekey="lblLoc"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLoc" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLoc"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLoc" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLoc">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLot" runat="server" Text="批次号" 
                                meta:resourcekey="lblLot"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLot" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLot"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLot" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLot">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblLpnID" runat="server" Text="LPN" 
                                meta:resourcekey="lblLpnID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtLpnID" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtLpnID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlLpnID" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlLpnID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblCountQTY" runat="server" Text="盘点数量" 
                                meta:resourcekey="lblCountQTY"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="txtCountQTY" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtCountQTY"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCountQTY" runat="server" CssClass="selectbox" 
                                meta:resourcekey="ddlCountQTY">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <asp:Label CssClass="label" ID="lblTaskDetailID" runat="server" Text="任务号" 
                                Visible="False" meta:resourcekey="lblTaskDetailID"></asp:Label>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td> 
                            <asp:TextBox ID="txtTaskDetailID" runat="server" CssClass="textbox" 
                                Visible="False" meta:resourcekey="txtTaskDetailID"></asp:TextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlTaskDetailID" runat="server" CssClass="selectbox" 
                                Visible="False" meta:resourcekey="ddlTaskDetailID">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    
                </table>
             </div>
             
             <div id="div_bottom">
                <table>
                    <tr>
                        <td>
                            <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" CssClass="button" 
                                Enabled="False"  OnClick="btnSearch_Click"  />
                        </td>
                        <td>
                            <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>" CssClass="button" 
                                Enabled="False" 
                                OnClientClick="javascript:window.location.href='PCMaintenanceList.aspx?from=list';return false;"  />
                        </td>
                        <td>
                            <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>" CssClass="button" 
                                Enabled="False" 
                                OnClientClick="javascript:window.location.href='PCMaintenanceList.aspx?from=query&export=y';return false;"  />
                        </td>
                    </tr>
                </table>
            </div>
            <input id="hdnActionID" type="hidden" runat="server" />
    
    </div>
    </form>
</body>
</html>
